﻿define([
    "dojo/_base/declare"
    , "dojo/dom-construct"
    , "dojo/dom-style"
    , "esri"
    , "esri/graphic"
  ], function (
    declare
    , domConstruct
    , domStyle
    , esri
    , Graphic
  ) {
      var Div = declare([Graphic], {

          constructor: function (geometry, symbol, attributes, infoTemplate) {
              this.inherited(arguments);

              this._element = null;

              this.init();
          }

          , init: function () {
              this._element = domConstruct.create("div", {
                  style: "position: absolute; left: 0px; top: 0px;"
              });
              this._element.graphic = this;
          }

          , getElement: function () {
              return this._element;
          }
      });
      return Div;
  });